package com.dinghui.salary.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author tanrentao
 * @date 2021-09-06
 * @desc 用户登录参数
 */
@Data
@ApiModel(value = "工资参数")
public class SearchSalaryDTO extends PageDTO implements Serializable {

    @NotBlank(message = "名称不能为空")
    @ApiModelProperty(value = "名称")
    private String name;

    @NotBlank(message = "工号不能为空")
    @ApiModelProperty(value = "工号")
    private String jobNumber;

    @NotBlank(message = "年份不能为空")
    @ApiModelProperty(value = "年份")
    private String year;

    @NotBlank(message = "月份不能为空")
    @ApiModelProperty(value = "月份")
    private String month;

    @NotBlank(message = "时间不能为空")
    @ApiModelProperty(value = "时间")
    private String time;

    @NotBlank(message = "身份证号不能为空")
    @ApiModelProperty(value = "身份证号")
    private String idNumber;

}
